﻿using EventHandlerDemo.Domain.OrderAttachments;
using EventHandlerDemo.Infrastructure.EFCore;

namespace EventHandlerDemo.Infrastructure.Repositories.OrderAttachments
{
    public class OrderAttachmentRepository : RepositoryBase, IOrderAttachmentRepository
    {
        public OrderAttachmentRepository(AppDbContext dbContext) : base(dbContext)
        {

        }

        public async Task InsertAsync(OrderAttachment orderAttachment)
        {
            await _dbContext.AddAsync(orderAttachment);
        }
    }
}
